/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package easyrgb.frame;

import java.awt.Component;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.table.TableCellRenderer;

/**
 *
 * @author tandn
 */
public class CStringRender extends JTextField implements TableCellRenderer
{
    public CStringRender()
    {        
    }

    @Override
    public Component getTableCellRendererComponent(JTable table, Object path, boolean isSelected, boolean hasFocus, int row, int column)
    {
        setText((String)path);
        return this;
    }
    
}

